home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / ywriter / yWriter2.exe / install_script.iss
Text File  |  2007-11-05  |  11KB  |  138 lines

  1. ;InnoSetupVersion=5.1.10
  2.  
  3. [Setup]
  4. AppName=yWriter2
  5. AppVerName=yWriter2
  6. AppId=yWriter2
  7. AppPublisher=Spacejock Software
  8. AppPublisherURL=http://www.spacejock.com
  9. AppSupportURL=http://www.spacejock.com
  10. AppUpdatesURL=http://www.spacejock.com
  11. DefaultDirName={pf}\yWriter2
  12. DefaultGroupName=Spacejock Software
  13. OutputBaseFilename=yWriter2
  14. Compression=lzma
  15. DisableProgramGroupPage=yes
  16. ChangesAssociations=yes
  17. WizardImageFile=embedded\WizardImage0.bmp
  18. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  19.  
  20. [Files]
  21. Source: "{sys}\MSCOMCTL,1.OCX"; DestDir: "{sys}"; DestName: "MSCOMCTL.OCX"; OnlyBelowVersion: 4.9,6.0; Flags: restartreplace regserver sharedfile 
  22. Source: "{sys}\MSCOMCTL,2.OCX"; DestDir: "{sys}"; DestName: "MSCOMCTL.OCX"; MinVersion: 0.0,6.0; Flags: onlyifdoesntexist 
  23. Source: "{sys}\MSCOMCT2,1.OCX"; DestDir: "{sys}"; DestName: "MSCOMCT2.OCX"; OnlyBelowVersion: 4.9,5.0; Flags: restartreplace regserver sharedfile 
  24. Source: "{sys}\MSCOMCT2,2.OCX"; DestDir: "{sys}"; DestName: "MSCOMCT2.OCX"; MinVersion: 4.9,5.0; OnlyBelowVersion: 0.0,6.0; Flags: regserver sharedfile onlyifdoesntexist 
  25. Source: "{sys}\MSCOMCT2,3.OCX"; DestDir: "{sys}"; DestName: "MSCOMCT2.OCX"; MinVersion: 0.0,6.0; Flags: onlyifdoesntexist 
  26. Source: "{sys}\RICHED20,1.DLL"; DestDir: "{sys}"; DestName: "RICHED20.DLL"; OnlyBelowVersion: 4.9,0.0; Flags: sharedfile onlyifdoesntexist 
  27. Source: "{sys}\RICHED,1.DLL"; DestDir: "{sys}"; DestName: "RICHED.DLL"; OnlyBelowVersion: 4.9,0.0; Flags: sharedfile onlyifdoesntexist 
  28. Source: "{sys}\RICHTX32,1.OCX"; DestDir: "{sys}"; DestName: "RICHTX32.OCX"; OnlyBelowVersion: 4.9,0.0; Flags: regserver sharedfile 
  29. Source: "{sys}\RICHED20,2.DLL"; DestDir: "{sys}"; DestName: "RICHED20.DLL"; OnlyBelowVersion: 4.9,0.0; Flags: sharedfile onlyifdoesntexist 
  30. Source: "{sys}\RICHED,2.DLL"; DestDir: "{sys}"; DestName: "RICHED.DLL"; OnlyBelowVersion: 4.9,0.0; Flags: sharedfile onlyifdoesntexist 
  31. Source: "{sys}\RICHTX32,2.OCX"; DestDir: "{sys}"; DestName: "RICHTX32.OCX"; MinVersion: 4.9,0.0; OnlyBelowVersion: 5.0,0.0; Flags: restartreplace regserver sharedfile 
  32. Source: "{sys}\Richtx32,3.ocx"; DestDir: "{sys}"; DestName: "Richtx32.ocx"; MinVersion: 0.0,5.0; OnlyBelowVersion: 0.0,6.0; Flags: regserver sharedfile onlyifdoesntexist 
  33. Source: "{sys}\Richtx32,4.ocx"; DestDir: "{sys}"; DestName: "Richtx32.ocx"; MinVersion: 0.0,6.0; Flags: onlyifdoesntexist 
  34. Source: "{sys}\MSINET,1.OCX"; DestDir: "{sys}"; DestName: "MSINET.OCX"; OnlyBelowVersion: 4.9,4.9; Flags: restartreplace regserver sharedfile 
  35. Source: "{sys}\MSINET,2.OCX"; DestDir: "{sys}"; DestName: "MSINET.OCX"; MinVersion: 4.9,4.9; OnlyBelowVersion: 0.0,6.0; Flags: regserver sharedfile 
  36. Source: "{sys}\MSINET,3.OCX"; DestDir: "{sys}"; DestName: "MSINET.OCX"; MinVersion: 6.0,6.0; Flags: onlyifdoesntexist 
  37. Source: "{sys}\stdole2,1.tlb"; DestDir: "{sys}"; DestName: "stdole2.tlb"; OnlyBelowVersion: 4.9,4.1; Flags: uninsneveruninstall restartreplace regtypelib sharedfile 
  38. Source: "{sys}\msvbvm60,1.dll"; DestDir: "{sys}"; DestName: "msvbvm60.dll"; OnlyBelowVersion: 4.9,4.1; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  39. Source: "{sys}\oleaut32,1.dll"; DestDir: "{sys}"; DestName: "oleaut32.dll"; OnlyBelowVersion: 4.9,4.1; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  40. Source: "{sys}\olepro32,1.dll"; DestDir: "{sys}"; DestName: "olepro32.dll"; OnlyBelowVersion: 4.9,4.1; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  41. Source: "{sys}\asycfilt,1.dll"; DestDir: "{sys}"; DestName: "asycfilt.dll"; OnlyBelowVersion: 4.9,4.1; Flags: uninsneveruninstall restartreplace sharedfile 
  42. Source: "{sys}\comcat,1.dll"; DestDir: "{sys}"; DestName: "comcat.dll"; OnlyBelowVersion: 4.9,4.1; Flags: uninsneveruninstall restartreplace regserver sharedfile 
  43. Source: "{sys}\stdole2,2.tlb"; DestDir: "{sys}"; DestName: "stdole2.tlb"; MinVersion: 4.9.1,4.9; OnlyBelowVersion: 0.0,6.0; Flags: uninsneveruninstall regtypelib sharedfile onlyifdoesntexist 
  44. Source: "{sys}\msvbvm60,2.dll"; DestDir: "{sys}"; DestName: "msvbvm60.dll"; MinVersion: 4.9.1,4.9; OnlyBelowVersion: 0.0,6.0; Flags: uninsneveruninstall regserver sharedfile onlyifdoesntexist 
  45. Source: "{sys}\oleaut32,2.dll"; DestDir: "{sys}"; DestName: "oleaut32.dll"; MinVersion: 4.9.1,4.9; OnlyBelowVersion: 0.0,6.0; Flags: uninsneveruninstall regserver sharedfile onlyifdoesntexist 
  46. Source: "{sys}\olepro32,2.dll"; DestDir: "{sys}"; DestName: "olepro32.dll"; MinVersion: 4.9.1,4.9; OnlyBelowVersion: 0.0,6.0; Flags: uninsneveruninstall regserver sharedfile onlyifdoesntexist 
  47. Source: "{sys}\asycfilt,2.dll"; DestDir: "{sys}"; DestName: "asycfilt.dll"; MinVersion: 4.9.1,4.9; OnlyBelowVersion: 0.0,6.0; Flags: uninsneveruninstall sharedfile onlyifdoesntexist 
  48. Source: "{sys}\comcat,2.dll"; DestDir: "{sys}"; DestName: "comcat.dll"; MinVersion: 4.9.1,4.9; OnlyBelowVersion: 0.0,6.0; Flags: uninsneveruninstall regserver sharedfile onlyifdoesntexist 
  49. Source: "{app}\Spacejock.txt"; DestDir: "{app}"; Flags: ignoreversion 
  50. Source: "{app}\Updater.exe"; DestDir: "{app}"; Flags: ignoreversion 
  51. Source: "{app}\Help\Editor.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  52. Source: "{app}\Help\ExistingProj.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  53. Source: "{app}\Help\Finishing.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  54. Source: "{app}\Help\Housekeeping.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  55. Source: "{app}\Help\index.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  56. Source: "{app}\Help\Printing.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  57. Source: "{app}\Help\PrintingCards.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  58. Source: "{app}\Help\Spelling.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  59. Source: "{app}\Help\Starting.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  60. Source: "{app}\Help\Words.htm"; DestDir: "{app}\Help"; Flags: ignoreversion 
  61. Source: "{app}\Help\style.css"; DestDir: "{app}\Help"; Flags: ignoreversion 
  62. Source: "{app}\Help\Images\AutoUpdate.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  63. Source: "{app}\Help\Images\banner.gif"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  64. Source: "{app}\Help\Images\BlankProj.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  65. Source: "{app}\Help\Images\BlankScn.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  66. Source: "{app}\Help\Images\Cards.gif"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  67. Source: "{app}\Help\Images\ppdonate.gif"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  68. Source: "{app}\Help\Images\Printer.gif"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  69. Source: "{app}\Help\Images\ScnDetails.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  70. Source: "{app}\Help\Images\Splash.jpg"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  71. Source: "{app}\Help\Images\yw2.gif"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  72. Source: "{app}\Help\Images\yWriterWiz1.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  73. Source: "{app}\Help\Images\yWriterWiz2.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  74. Source: "{app}\Help\Images\yWriterWiz3.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  75. Source: "{app}\Help\Images\yWriterWiz4.png"; DestDir: "{app}\Help\Images"; Flags: ignoreversion 
  76. Source: "{app}\yWriter2.exe"; DestDir: "{app}"; Flags: ignoreversion 
  77. Source: "{app}\SampleOutline.txt"; DestDir: "{app}"; Flags: ignoreversion 
  78. Source: "{app}\yHtml.dll"; DestDir: "{app}"; Flags: ignoreversion 
  79. Source: "{app}\Hash.dll"; DestDir: "{app}"; Flags: ignoreversion 
  80. Source: "{app}\Languages\Catalan.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  81. Source: "{app}\Languages\Czech.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  82. Source: "{app}\Languages\French.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  83. Source: "{app}\Languages\Galician.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  84. Source: "{app}\Languages\German.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  85. Source: "{app}\Languages\Italian.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  86. Source: "{app}\Languages\Nederlands.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  87. Source: "{app}\Languages\Russian.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  88. Source: "{app}\Languages\Spanish.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  89. Source: "{app}\Languages\Template.txt"; DestDir: "{app}\Languages"; Flags: ignoreversion 
  90. Source: "{app}\Dict\AddingDictionaries.txt"; DestDir: "{app}\Dict"; Flags: ignoreversion 
  91. Source: "{app}\WebTemplate\Logo.png"; DestDir: "{app}\WebTemplate"; Flags: ignoreversion 
  92. Source: "{app}\WebTemplate\style.css"; DestDir: "{app}\WebTemplate"; Flags: ignoreversion 
  93. Source: "{app}\WebTemplate\WebTemplate.txt"; DestDir: "{app}\WebTemplate"; Flags: ignoreversion 
  94.  
  95. [Registry]
  96. Root: HKCR; Subkey: ".ywp"; ValueType: String; ValueData: "yWriter2"; Flags: uninsdeletevalue 
  97. Root: HKCR; Subkey: "yWriter2"; ValueType: String; ValueData: "yWriter2 Project"; Flags: uninsdeletekey 
  98. Root: HKCR; Subkey: "yWriter2\DefaultIcon"; ValueType: String; ValueData: "{app}\yWriter2.exe,0"; 
  99. Root: HKCR; Subkey: "yWriter2\shell\open\command"; ValueType: String; ValueData: """{app}\yWriter2.exe"" ""%1"""; 
  100.  
  101. [INI]
  102. FileName: "{app}\yWriter.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.spacejock.com"; 
  103.  
  104. [Run]
  105. Filename: "{app}\yWriter2.exe"; Description: "Launch yWriter2"; Flags: postinstall skipifsilent nowait
  106.  
  107. [Icons]
  108. Name: "{group}\yWriter2\About Spacejock Software"; Filename: "{app}\Spacejock.txt"; WorkingDir: "{app}"; 
  109. Name: "{group}\yWriter2\yWriter2"; Filename: "{app}\yWriter2.exe"; WorkingDir: "{app}"; 
  110. Name: "{group}\yWriter2\Help File"; Filename: "{app}\YWriter2.CHM"; WorkingDir: "{app}"; 
  111. Name: "{group}\yWriter2\Spacejock Web Page"; Filename: "{app}\yWriter.url"; WorkingDir: "{app}"; 
  112. Name: "{group}\yWriter2\Uninstall yWriter2"; Filename: "{uninstallexe}"; 
  113. Name: "{userdesktop}\yWriter2"; Filename: "{app}\yWriter2.exe"; WorkingDir: "{app}"; Tasks: desktopicon; 
  114.  
  115. [Tasks]
  116. Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; 
  117.  
  118. [UninstallDelete]
  119. Type: files; Name: "{app}\yWriter.url"; 
  120. Type: files; Name: "{app}\yWriter2.exe"; 
  121. Type: files; Name: "{app}\Help"; 
  122.  
  123. [CustomMessages]
  124. default.NameAndVersion=%1 version %2
  125. default.AdditionalIcons=Additional icons:
  126. default.CreateDesktopIcon=Create a &desktop icon
  127. default.CreateQuickLaunchIcon=Create a &Quick Launch icon
  128. default.ProgramOnTheWeb=%1 on the Web
  129. default.UninstallProgram=Uninstall %1
  130. default.LaunchProgram=Launch %1
  131. default.AssocFileExtension=&Associate %1 with the %2 file extension
  132. default.AssocingFileExtension=Associating %1 with the %2 file extension...
  133.  
  134. [Languages]
  135. ; These files are stubs
  136. ; To achieve better results after recompilation, use the real language files
  137. Name: "default"; MessagesFile: "embedded\default.isl"; 
  138.